package event;

import model.symbol.Symbol;

/**
 * This is an abstract class for all events that are as a result of making a change of some sort to a particular symbol.
 * 
 * Authors: Neil Dickson
 */
public abstract class SymbolChangeEvent implements Undoable {
	protected	Symbol	symbol;

	protected SymbolChangeEvent(Symbol symbol) {
		this.symbol = symbol;
	}

	public abstract Undoable undo();
	public abstract String getDescription();

	public Symbol getSymbol() {
		return symbol;
	}
}
